import React, {
    PureComponent
} from 'react';

import * as Event from './../../utils/event';

class LoginStatus extends PureComponent{
    render = () => null;

    componentDidMount() {
        Event.emit(Event.ON_USER_LOGIN);
    }

    componentWillUnmount() {
        Event.emit(Event.ON_USER_OUT);
    }
}

export default LoginStatus;